package com.veryedu.hibernate.hbm.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Tickets entity. @author MyEclipse Persistence Tools
 */

public class Tickets implements java.io.Serializable {

	// Fields

	private Integer ticketid;
	private Changci changci;
	private Seatinfo seatinfo;
	private Float price;
	private Integer state;
	private Set orderitemses = new HashSet(0);

	// Constructors

	/** default constructor */
	public Tickets() {
	}

	/** full constructor */
	public Tickets(Changci changci, Seatinfo seatinfo, Float price,
			Integer state, Set orderitemses) {
		this.changci = changci;
		this.seatinfo = seatinfo;
		this.price = price;
		this.state = state;
		this.orderitemses = orderitemses;
	}

	// Property accessors

	public Integer getTicketid() {
		return this.ticketid;
	}

	public void setTicketid(Integer ticketid) {
		this.ticketid = ticketid;
	}

	public Changci getChangci() {
		return this.changci;
	}

	public void setChangci(Changci changci) {
		this.changci = changci;
	}

	public Seatinfo getSeatinfo() {
		return this.seatinfo;
	}

	public void setSeatinfo(Seatinfo seatinfo) {
		this.seatinfo = seatinfo;
	}

	public Float getPrice() {
		return this.price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Set getOrderitemses() {
		return this.orderitemses;
	}

	public void setOrderitemses(Set orderitemses) {
		this.orderitemses = orderitemses;
	}

}